package com.shy;

/**
 * Created by huangyang on 2017/2/4.
 */
public class BridgePatternDemo {

    public static void main(String[] args) {
        Shape redCircle = new Circle(100, 100, 10, new RedCircle());
        Shape greenCicle = new Circle(100,100, 10, new GreenCircle());

        redCircle.draw();
        greenCicle.draw();
    }
}
